﻿using System.Text.Json.Serialization;

namespace GanFeng.Forest.WebApi.Objects
{
    /// <summary>
    /// 重量确认参数
    /// </summary>
    public class ConfirmWeightArgs
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonPropertyName("device_code")]
        public string DeviceCode { get; set; } = string.Empty;
        /// <summary>
        /// 物料编码
        /// </summary>
        [JsonPropertyName("material_code")]
        public int MaterialCode { get; set; }
        /// <summary>
        /// 类型。1：配比加液重量；2：确认加液重量；3: 物料加注重量
        /// </summary>
        [JsonPropertyName("type")]
        public int Type { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        [JsonPropertyName("weight")]
        public double Weight { get; set; }
        /// <summary>
        /// 工步号
        /// </summary>
        [JsonPropertyName("step")]
        public int Step { get; set; }

    }
}
